From: Jim Blandy Date: Thu, 17 Jun 1993 05:05:53 +0000 (+0000) Subject: Don't let the 'B' interactive spec default to buffers viewed in X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95258 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=db732e5a3d99f59620df5503510e61cb9db1fadc;p=emacs.git Don't let the 'B' interactive spec default to buffers viewed in any visible frame. * buffer.c (Fother_buffer): Pass Qt as the second argument to Fget_buffer_window. * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore non-visible frames. (Fget_buffer_window): Change doc string to mention that passing Qt for the FRAME argument returns windows on visible frames only. --- diff --git a/src/buffer.c b/src/buffer.c index f2d6ca37e74..d1680961e3b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -585,7 +585,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned.") if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ') continue; if (NILP (visible_ok)) - tem = Fget_buffer_window (buf, Qvisible); + tem = Fget_buffer_window (buf, Qt); else tem = Qnil; if (NILP (tem))